package com.polidea.rxohosble2.exceptions;


import ohos.bluetooth.ble.BlePeripheralDevice;
import ohos.bluetooth.ble.GattDescriptor;

public class BleGattDescriptorException extends BleGattException {

    public final GattDescriptor descriptor;

    public BleGattDescriptorException(
            BlePeripheralDevice gatt,
            GattDescriptor descriptor,
            int status,
            BleGattOperationType bleGattOperationType
    ) {
        super(gatt, status, bleGattOperationType);
        this.descriptor = descriptor;
    }
}
